import request from "@/hooks/request";

export function Login(params: { username: string; password: string }) {
  return request({
    url: "/api/login",
    method: "get",
    headers: { noToken: true },
    params,
  });
}


